#ifndef _PORT_H
#define _PORT_H

#include "../include/common.h"

int port_open(void* handler);
int port_close(void* handler);
int port_read(void* handler, uint8_t *msg, int len,int timeout);
int port_write(void* handler, uint8_t *msg, int len);
int port_flush(void* handler);

#endif